Constraint in Shock - Capturing Magnetohydrodynamics Codes
نویسنده
چکیده
Submitted to the Journal of Computational Physics Seven schemes to maintain the r B = 0 constraint numerically are compared. All these algorithms can be combined with shock-capturing Godunov type base schemes. They fall into three categories: the eight-wave formulation maintains the constraint to truncation error, the projection scheme enforces the constraint in some discretization by projecting the magnetic field, while the five different versions of the constrained transport/central difference type schemes conserve r B to machine accuracy in some discretization for every grid cell. It is shown that the three constrained transport algorithms, which have been introduced recently, can be recast into pure finite volume schemes, and the staggered representation of the magnetic field is unnecessary. Another two new and simple central difference based algorithms are introduced. The properties of the projection scheme are discussed in some detail, and I prove that it has the same order of accuracy as the base scheme even for discontinuous solutions. I describe a flexible and efficient implementation of the projection scheme using conjugate gradient type iterative methods. Generalizations to resistive MHD, to axial symmetry, and to non-Cartesian grids are given for all schemes. The theoretical discussion is followed by numerical tests, where the robustness, accuracy, and efficiency of the seven schemes and the base scheme can be directly compared. All simulations are done with the Versatile Advection Code, in which several shock-capturing base schemes are implemented. Although the eight-wave formulation usually works correctly, one of the numerical tests demonstrates that its non-conservative nature can occasionally produce incorrect jumps across strong discontinuities. Based on a large number of tests, the projection scheme, one of the new central difference based schemes, and one of the constrained transport schemes are found to be the most accurate and reliable among the examined methods.
منابع مشابه
An efficient shock-capturing central-type scheme for multidimensional relativistic flows II. Magnetohydrodynamics
A third order shock-capturing numerical scheme for three-dimensional special relativistic magnetohydrodynamics (3-D RMHD) is presented and validated against several numerical tests. The simple and efficient central scheme described in Paper I (Del Zanna & Bucciantini 2002) for relativistic hydrodynamics is here extended to the magnetic case by following the strategies prescribed for classical M...
متن کاملCosmoMHD: A Cosmological Magnetohydrodynamics Code
In this era of precision cosmology, a detailed physical understanding on the evolution of cosmic baryons is required. Cosmic magnetic fields, though still poorly understood, may represent an important component in the global cosmic energy flow that affects the baryon dynamics. We have developed an Eulerianbased cosmological magnetohydrodynamics code (CosmoMHD) with modern shock capturing scheme...
متن کاملHARM: A Numerical Scheme for General Relativistic Magnetohydrodynamics
We describe a conservative, shock-capturing scheme for evolving the equations of general relativistic magnetohydrodynamics. The fluxes are calculated using the Harten, Lax, and van Leer scheme. A variant of constrained transport, proposed earlier by Tóth, is used to maintain a divergence free magnetic field. Only the covariant form of the metric in a coordinate basis is required to specify the ...
متن کاملUniqueness in MHD in divergence form: right nullvectors and well-posedness
The equations of MHD in divergence form are a fully covariant constraint-free formulation of ideal magnetohydrodynamics. They result from a certain linear combination of an algebraic constraint with Faraday’s equations. This linear combination is not unique. Well-posedness of the problem of characteristics in small amplitude perturbations and of the initial value problem are studied. This analy...
متن کامل0 70 11 09 v 2 5 J un 2 00 7 WhiskyMHD : a new numerical code for general relativistic magnetohydrodynamics
The accurate modelling of astrophysical scenarios involving compact objects and magnetic fields, such as the collapse of rotating magnetized stars to black holes or the phenomenology of γ-ray bursts, requires the solution of the Einstein equations together with those of general-relativistic magnetohydrodynamics. We present a new numerical code developed to solve the full set of general-relativi...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2007